home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / misc / vinced / include / fd / vnc_lib.fd < prev   
Text File  |  1999-04-19  |  6KB  |  191 lines

  1. *-----------------------------------------------------------------
  2. *-- VNCLibrary                            --
  3. *-- © 1990-98 THOR-Software inc.                --
  4. *--                                 --
  5. *-- Library header file Version 3.60                --
  6. *--                                --
  7. *-- created 5/2/92 by THOR,    Thomas Richter            --
  8. *-- updated to 2.06  3/28/93                    --
  9. *-- updated to 2.08  4/21/93                    --
  10. *-- updated to 2.12  6/18/93                    --
  11. *-- updated to 2.14  6/25/93                    --
  12. *-- updated to 2.16  9/30/93                    --
  13. *-- updated to 2.17  10/4/93                    --
  14. *-- updated to 2.21  11/28/93                    --
  15. *-- updated to 2.26  1/1/94                    --
  16. *-- updated to 2.32  2/21/94                    --
  17. *-- updated to 3.00  3/1/96                    --
  18. *-- updated to 3.12  10/13/96                    --
  19. *-- updated to 3.14  11/02/96                    --
  20. *-- updated to 3.19  2/8/97                    --
  21. *-- updated to 3.30  3/30/97                    --
  22. *-- updated to 3.40  5/8/97                    --
  23. *-- updated to 3.50  7/16/97                    --
  24. *-- updated to 3.60  8/19/98                    --
  25. *-----------------------------------------------------------------
  26. ##base _VNCBase
  27. ##bias 42
  28. *---- system entry points
  29. ##private
  30. VNCInputHandler(events,vncbase)(a0/a1)
  31. ##public
  32. VNCRawKeyConvert(event,buffer,length,keymap,mode)(a0/a1,d1/a2,d0)
  33. *---- 6 slots reserved here
  34. ##bias 90
  35. *---- global patchable hook control. Don't call it, patch it
  36. InstallGlobalHooks(cn)(a5)
  37. *---- tabexpansion control
  38. SwitchTabExpansion(cn,onoff)(a5,d0)
  39. HandleTabExpansion(cn,len,pos,dir,buf,owner)(a5,d0,d1,d4,a0,a1)
  40. AbortTabExpansion(cn)(a5)
  41. *---- system entry points, continued
  42. ##private
  43. ImVNCInputHandler(events,vncbase)(a0/a1)
  44. VNCPost()()
  45. SysCopySnip(cn)(a5)
  46. SysPasteSnip(cn)(a5)
  47. VNCPreAdd()()
  48. VNCPostRemove()()
  49. ##public
  50. *---- 2 slots reserved here
  51. ##bias 162
  52. *---- CNWindow support
  53. LockWindow(cn)(a5)
  54. UnLockWindow(cn)(a5)
  55. ##bias 210
  56. FindCNWindow(fh)(d1)
  57. UnFindCNWindow(fh)(d1)
  58. ##bias 234
  59. *---- Preferences Support
  60. ##private
  61. SetVNCPrefs(buffer,len)(a0/d0)
  62. *---- SetVNCPrefs is obsolete, call UsePrefs below
  63. ##public
  64. GetVNCPrefs(buffer,len)(a0/d0)
  65. GetVNCDefaultPrefs(buffer,len)(a0/d0)
  66. LoadPrefs(buffer,max)(a0/d0)
  67. SetWindowPrefs(cn,buffer,len)(a5,a0/d0)
  68. GetWindowPrefs(cn,buffer,len)(a5,a0/d0)
  69. *--- 2 slots reserved here
  70. ##bias 300
  71. LoadPrefsFrom(buffer,max,file)(a0/d0,a1)
  72. List2Prefs(cn,mlist,blist,prefs,mlen,blen,mnum,bnum)(a5,a0,a2,a1,d0,d2,d1,d3)
  73. Prefs2List(cn,mlist,blist,prefs,mlen,blen,mnum,bnum)(a5,a0,a2,a1,d0,d2,d1,d3)
  74. AllocPrefsBuffer()()
  75. FreePrefsBuffer(buf)(a1)
  76. ##private
  77. *---- entry points for creating custom windows
  78. ##bias 342
  79. MountHandler(name,path,segment,override)(a0/a1,d1,d0)
  80. DisMountHandler(segment)(d1)
  81. *---- the VNCHook functions are obsolete and should no longer be used
  82. AddVNCHook(cn,hook)(a5,a0)
  83. RemVNCHook(cn,hook)(a5,a0)
  84. ##public
  85. *---- patchable hooks for window open/close messaging. Don't call them, patch them
  86. SendRequestPattern(cn,pat)(a5,a0)
  87. SendWindowOpens(cn)(a5)
  88. SendWindowCloses(cn)(a5)        
  89. SendWindowQuits(cn)(a5)
  90. ##bias 438
  91. ##public
  92. *---- More support functions and hooks, added in 3.0
  93. VNCRequestFile(cn,vncreq)(a5,a0)
  94. *---- Patchable hooks (try if you can do better)
  95. CtrlZSuspend(cn,owner)(a5,a4)
  96. *---- Even more support functions
  97. VNCUniqueID()()
  98. GetNodeN(list,count)(a0,d0)
  99. *---- pooled editor memory management (static and dynamic)
  100. AllocEdMem(cn,bytesize,reqments)(a5,d0/d1)
  101. FreeEdMem(cn,mem)(a5,a1)
  102. AllocLine(cn,size)(a5,d0)
  103. FreeLine(cn,line)(a5,a0)
  104. ##bias 534
  105. *---- patchable job control hooks
  106. NotifyChOwner(cn,old,new,cmd)(a5,a0,a1,d0)
  107. NotifyClearScreen(cn)(a5)
  108. *---- number conversion and strings
  109. VNCAtoI(strsuccptrptr)(a0)
  110. VNCHtoI(strsuccptrptr)(a0)
  111. VNCStrToL(strsuccptrptr,base)(a0/d0)
  112. ##private
  113. VNCReserved03()()
  114. ##public
  115. VNCItoA(number,buffer)(d0/a0)
  116. ##private
  117. VNCReserved04()()
  118. VNCReserved05()()
  119. ##public
  120. VNCStrCmp(str1,str2)(a0/a1)
  121. VNCStrICmp(str1,str2,first)(a0/a1,d0)
  122. VNCToUpper(char)(d0)
  123. VNCSPrintf(buffer,strem,fmtstr)(a0/a1/a2)
  124. *---- 2 slot reserved here
  125. ##bias 624
  126. *---- more support 3.0
  127. ConvertWindowTitle(cn,owner,from,to)(a5,a4,a0,a1)
  128. FindCloseMacro(cn,owner)(a5,a4)
  129. PrintSuspend(cn,port,owner)(a5,a0,a4)
  130. ##bias 948
  131. *---- DOS support functions
  132. ##private
  133. VNCReplyPacket(dp,res1,res2)(a0,d0/d1)
  134. ##public
  135. AllocAsyncPacket(stream,size)(d0,d1)
  136. QueueOwnerLine(cn,owner,buffer,size)(a5/a4,a0/d0)
  137. PushOwnerLine(cn,owner,buffer,size)(a5/a4,a0/d0)
  138. GetLineData(cn,owner,buffer,size)(a5/a4,a0/d0)
  139. PutLineData(cn,owner,buffer,size)(a5/a4,a0/d0)
  140. ##private
  141. VNCLockDeviceList(mode)(d0)
  142. VNCUnLockDeviceList(mode)(d0)
  143. ##public
  144. SendAsyncPacket(stream,type,arg1,data,size)(d1,d2,a1,a0/d0)
  145. VNCDoPacket(type,arg1,arg2,arg3,arg4,arg5,arg6,arg7,port)(d0,d1/d2/d3/d4/d5/d6/d7,a0)
  146. ##bias 1056
  147. *---- job control functions
  148. Foreground(flags,stream)(d0,d1)
  149. Background(flags,stream)(d0,d1)
  150. *---- cursor movement
  151. ##bias 1212
  152. ConvertString(cn,from,to)(a5,a0/a1)
  153. ##private
  154. VNCReserved06()()
  155. DoAsciiData(cn,string,len)(a5,a0/d0)
  156. VNCReserved15()()
  157. VNCReserved16()()
  158. ##public
  159. FreeMacroList(cn,list)(a5,a0)
  160. *---- extended version 3.00 entries: pooled device support
  161. ##bias 1374
  162. PoolCreateExtIO(cn,port,size)(a5,a1/d0)
  163. PoolDeleteExtIO(cn,ioreq)(a5,a1)
  164. PoolCreateStdIO(cn,port)(a5,a1)
  165. PoolDeleteStdIO(cn,ioreq)(a5,a1)
  166. PoolCreatePort(cn,name,pri)(a5,a1/d0)
  167. PoolDeletePort(cn,port)(a5,a1)
  168. *---- 4 slots reserved here
  169. ##bias 1434
  170. *---- extended 3.50 entries: buffer io support
  171. VNCFOpen(name,flags,bufsize)(a0,d0,d1)
  172. VNCFClose(handle)(a0)
  173. VNCFRead(handle,buffer,length)(a0,a1,d1)
  174. VNCFWrite(handle,buffer,length)(a0,a1,d1)
  175. VNCFSeek(handle,offset,mode)(a0,d0,d1)
  176. VNCOneRequester(body)(a0)
  177. VNCTwoRequester(body)(a0)
  178. VNCBuildFailureString(error,dest,header,un)(d0,a1,a2,a0)
  179. GetHistory(filename,flags)(a0,d0)
  180. GetScreen(filename,flags)(a0,d0)
  181. PutHistory(filename,flags)(a0,d0)
  182. PutScreen(filename,flags)(a0,d0)
  183. *---- 4 slots reserved here
  184. ##bias 1530
  185. SavePrefs(buffer,size)(a0,d0)
  186. SavePrefsTo(buffer,size,filename)(a0,d0,a1)
  187. UsePrefs(buffer,size)(a0,d0)
  188. NameOfFunction(id)(d0)
  189. NameOfKey(id)(d0)
  190. ##end
  191.